home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3mpbump.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_MPBUMP_H = 1;
- include("real/code/r3mpbitm.js")
-
-
- var R3CLID_MPBUMP = 367;
-
-
-
-
-
-
-
- R3MPBA_FlipX = 367500;
- function SetR3MPBA_FlipX(value) {
- R3Set(this.r3obj, R3MPBA_FlipX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_FlipX() {
- return R3Get(this.r3obj, R3MPBA_FlipX, R3TID_INTEGER, 0);
- }
-
- R3MPBA_FlipY = 367501;
- function SetR3MPBA_FlipY(value) {
- R3Set(this.r3obj, R3MPBA_FlipY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_FlipY() {
- return R3Get(this.r3obj, R3MPBA_FlipY, R3TID_INTEGER, 0);
- }
-
- R3MPBA_TileX = 367502;
- function SetR3MPBA_TileX(value) {
- R3Set(this.r3obj, R3MPBA_TileX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_TileX() {
- return R3Get(this.r3obj, R3MPBA_TileX, R3TID_INTEGER, 0);
- }
-
- R3MPBA_TileY = 367503;
- function SetR3MPBA_TileY(value) {
- R3Set(this.r3obj, R3MPBA_TileY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_TileY() {
- return R3Get(this.r3obj, R3MPBA_TileY, R3TID_INTEGER, 0);
- }
-
- R3MPBA_Height = 367504;
- function SetR3MPBA_Height(value) {
- R3Set(this.r3obj, R3MPBA_Height, value, R3TID_FLOAT, 0);
- }
-
- function GetR3MPBA_Height() {
- return R3Get(this.r3obj, R3MPBA_Height, R3TID_FLOAT, 0);
- }
-
- R3MPBA_Interpolation = 367505;
- function SetR3MPBA_Interpolation(value) {
- R3Set(this.r3obj, R3MPBA_Interpolation, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_Interpolation() {
- return R3Get(this.r3obj, R3MPBA_Interpolation, R3TID_INTEGER, 0);
- }
-
- R3MPBA_Channel = 367506;
- function SetR3MPBA_Channel(value) {
- R3Set(this.r3obj, R3MPBA_Channel, value, R3TID_STRING, 0);
- }
-
- function GetR3MPBA_Channel() {
- return R3Get(this.r3obj, R3MPBA_Channel, R3TID_STRING, 0);
- }
-
- R3MPBA_SubChannel = 367507;
- function SetR3MPBA_SubChannel(value) {
- R3Set(this.r3obj, R3MPBA_SubChannel, value, R3TID_STRING, 0);
- }
-
- function GetR3MPBA_SubChannel() {
- return R3Get(this.r3obj, R3MPBA_SubChannel, R3TID_STRING, 0);
- }
-
- R3MPBA_ComputeHeight = 367508;
- function SetR3MPBA_ComputeHeight(value) {
- R3Set(this.r3obj, R3MPBA_ComputeHeight, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_ComputeHeight() {
- return R3Get(this.r3obj, R3MPBA_ComputeHeight, R3TID_INTEGER, 0);
- }
-
- R3MPBA_BleedX = 367509;
- function SetR3MPBA_BleedX(value) {
- R3Set(this.r3obj, R3MPBA_BleedX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_BleedX() {
- return R3Get(this.r3obj, R3MPBA_BleedX, R3TID_INTEGER, 0);
- }
-
- R3MPBA_BleedY = 367510;
- function SetR3MPBA_BleedY(value) {
- R3Set(this.r3obj, R3MPBA_BleedY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPBA_BleedY() {
- return R3Get(this.r3obj, R3MPBA_BleedY, R3TID_INTEGER, 0);
- }
-
- R3MPBA_SmoothRadius = 367511;
- function SetR3MPBA_SmoothRadius(value) {
- R3Set(this.r3obj, R3MPBA_SmoothRadius, value, R3TID_FLOAT, 0);
- }
-
- function GetR3MPBA_SmoothRadius() {
- return R3Get(this.r3obj, R3MPBA_SmoothRadius, R3TID_FLOAT, 0);
- }
-
- var R3MPI_LINEAR = 0;
- var R3MPI_BILINEAR = 1;
- var R3MPI_QUADRIC = 2;
- var R3MPI_CUBIC = 3;
-
-
- function r3Mpbump () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_MPBUMP, arguments);
- }
- // Methods
-
- // Attributes
- this.GetFlipX=GetR3MPBA_FlipX;
- this.SetFlipX=SetR3MPBA_FlipX;
- this.GetFlipY=GetR3MPBA_FlipY;
- this.SetFlipY=SetR3MPBA_FlipY;
- this.GetTileX=GetR3MPBA_TileX;
- this.SetTileX=SetR3MPBA_TileX;
- this.GetTileY=GetR3MPBA_TileY;
- this.SetTileY=SetR3MPBA_TileY;
- this.GetHeight=GetR3MPBA_Height;
- this.SetHeight=SetR3MPBA_Height;
- this.GetInterpolation=GetR3MPBA_Interpolation;
- this.SetInterpolation=SetR3MPBA_Interpolation;
- this.GetChannel=GetR3MPBA_Channel;
- this.SetChannel=SetR3MPBA_Channel;
- this.GetSubChannel=GetR3MPBA_SubChannel;
- this.SetSubChannel=SetR3MPBA_SubChannel;
- this.GetComputeHeight=GetR3MPBA_ComputeHeight;
- this.SetComputeHeight=SetR3MPBA_ComputeHeight;
- this.GetBleedX=GetR3MPBA_BleedX;
- this.SetBleedX=SetR3MPBA_BleedX;
- this.GetBleedY=GetR3MPBA_BleedY;
- this.SetBleedY=SetR3MPBA_BleedY;
- this.GetSmoothRadius=GetR3MPBA_SmoothRadius;
- this.SetSmoothRadius=SetR3MPBA_SmoothRadius;
- }
-
- r3Mpbump.prototype=new r3Mpbitmap;
- // r3mpbump.h_H